<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="css/l_addSystem.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/operMessage/operMessageList.js?1=2"></script>
<script type="text/javascript" src="js/jquery/jquery.datetimepicker.js"></script>
<script type="text/javascript" src="js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="js/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="js/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="js/product/mgr/productAdd.js"></script>


<div class="z_title">首页 > 商品管理  > 商品管理 > 添加商品</div>
<div class="l_system">
<form id="fromProduct" method="post">
            <ul>  
                <li class="clearfix">
		    	   <span>商品名称</span>
		    	   <input type="text" class='add'  value="" name="productName" id="productName" maxlength="30"><em id="msgProductName">*</em>	    	   
		    	</li>
		    	<li class="clearfix">
		    	   <span>商品类型</span>
		    	   <select id="parentCate1" name="parentCate1" style="width:100px">
		    	   		<option value="">全部</option>
		    	   </select>
		    	   <select id="parentCate2" name="parentCate2" style="width:100px">
		    	   		<option value="">全部</option>
		    	   </select>		    	   
		    	</li>
		    	<li class="clearfix">
		    	   <span>商品属性</span>
		    	   <div id="specId"  class="clearfix"></div>
		    	</li>
		    	<li class="clearfix">
		    	   <span>品牌名称</span>
		    	   <select id="parentBrand1" name="parentBrand1" style="width:100px">
		    	   		<option value="">全部</option>
		    	   	</select>
		    	   <select id="parentBrand2" name="parentBrand2" style="width:100px">
		    	   		<option value="">全部</option>
		    	   </select>		    	   
		    	   <!-- <input type="text" value="" id="sortId" name="sortId" maxlength="30" /><em id="msgSortId">*</em> -->
		    	</li>
		    	<li class="clearfix">
		    	   <span>商品型号</span>
		    	   <select id="parentModel1" name="productModelName" style="width:100px">
		    	   		<option value="">全部</option>
		    	   </select>    	   
		    	   <!-- <input type="text" value="" id="sortId" name="sortId" maxlength="30" /><em id="msgSortId">*</em> -->
		    	</li>
		    	<li class="clearfix">
		    	   <span>商品图片</span>
		    	   <div id="productPic1"></div>
	    	   	  
		    	</li>
		    	<li class="g_numbOne">
		    	   <div>商品介绍</div>	
		    	    <script id="editor" name="productDesc" type="text/plain" style="width: 700px; height: 300px;" ></script>
		    	</li>
		    	<li class="g_numbOne">
		    	   <span>备&nbsp;&nbsp;&nbsp;&nbsp;注</span>		    	   
		    	   <textarea name="remark" id="remark" maxlength="100" placeholder="备注"></textarea>
		    	</li>
		    	<li class="g_numbOne">
		    	   <span>价&nbsp;&nbsp;&nbsp;&nbsp;格</span>		    	   
		    	   <input name="priceRetailGuide" id="priceRetailGuide" maxlength="100" placeholder="价格"></input>
		    	</li>

		    	<li class="g_numbOne">
		    	   <span>是否发布</span>		    	   
		    	   <select id="status" name="status" style="width:100px">
		    	   		<option selected="selected" value="1">是</option>
		    	   		<option value="0">否</option>
		    	   </select>
		    	</li>	
		    	
		    	<li class="g_numbOne">
		    	   <span>是否现售</span>		    	   
		    	   <select id="teaPurAd" name="teaPurAd" style="width:100px">
		    	   		<option selected="selected" value="0">是</option>
		    	   		<option value="1">否</option>
		    	   </select>
		    	</li>	
		    	
		    	<li class="g_numbOne">
		    	   <span>发布类型</span>		    	   
		    	   <select id="cateId" name="cateId" style="width:100px">
		    	   		<option selected="selected" value="3">茶产品</option>
		    	   		<option value="4">茶区农产</option>
		    	   </select>
		    	</li>
		    	
		    	
		    	<li class="g_numbOne">
		    	   <span>预购时间</span>		    	   
		    	   <input type="text" value="" name="teaDeTime" id="createTimeFrom" class="g_caiMiang clearfix" />
		    	</li>
		    	
		    	<li class="g_numbOne">
		    	   <span>运&nbsp;&nbsp;&nbsp;&nbsp;费</span>		    	   
		    	   <input name="freight" id="freight" maxlength="100" placeholder="运费"></input>
		    	</li>
		    	
		    	<div class="z_manamged">
    <!-- <div class="z_post">
            <ul style="padding:0px 0;">
                <li style="margin-top:10px">
                    <p >预购时间</p>
                    <input type="text" value="" name="teaDeTime" id="createTimeFrom" class="g_caiMiang clearfix" />
                    <p  style="margin-left:15px">~</p>
                    <input type="text" value="" name="createTimeTo" id="createTimeTo"  class="g_caiMiang clearfix" />
                </li>
            </ul>
    </div> -->
   
</div>
		    		    
		    </ul>
		     <input type="hidden" name="addUser"  id="addUser" value=""/>
		    
	
	<a href="javascript:void(0);" class="z_sure" onclick="submitCommit();">确定</a>
	<a href="javascript:back();" class="z_goback">返回</a>
	<script> var ue = UE.getEditor('editor',{initialFrameWidth :800,//设置编辑器宽度
		initialFrameHeight:350,//设置编辑器高度
		scaleEnabled:true
		});
	
	</script>
</form>

</div>